package com.cskaoyan.mall.model.vo.order;

/**
 * @ClassName: OrderMessageVo
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/7/1 16:16
 * @Version
 **/
public class OrderMessageVo {
    private Integer id;
    private Integer userId;
    //规格id
    private Integer goodsDetailId;
    private String goods;
    private String spec;
    private Integer goodsNum;
    private Double amount;
    private Integer stateId;
    private String state;
    private UserOrderMessageVo user = new UserOrderMessageVo();



    public OrderMessageVo() {
    }

    public OrderMessageVo(Integer stateId) {
        this.stateId = stateId;
    }

    public OrderMessageVo(Double amount, Integer goodsDetailId, Integer stateId, String goods, Integer id, String state, Integer userId, Integer goodsNum, String spec, UserOrderMessageVo userMessageVo) {
        this.amount = amount;
        this.goodsDetailId = goodsDetailId;
        this.stateId = stateId;
        this.goods = goods;
        this.id = id;
        this.state = state;
        this.userId = userId;
        this.goodsNum = goodsNum;
        this.spec = spec;
        this.user = userMessageVo;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getGoodsDetailId() {
        return goodsDetailId;
    }

    public void setGoodsDetailId(Integer goodsDetailId) {
        this.goodsDetailId = goodsDetailId;
    }

    public Integer getStateId() {
        return stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public UserOrderMessageVo getUserMessageVo() {
        return user;
    }

    public void setUserMessageVo(UserOrderMessageVo user) {
        this.user= user;
    }
}
